// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class FuelPriceFGW : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<FuelPriceFGW, MasterDbContextLocator>
    {

        public int Id { get; set; }
        public string PublishDate { get; set; }
        public decimal? PublishPrice { get; set; }
        public string PrjCode { get; set; }
    
        public void Configure(EntityTypeBuilder<FuelPriceFGW> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.Property(e => e.PrjCode).HasMaxLength(50);

                entityBuilder.Property(e => e.PublishDate).HasMaxLength(50);

                entityBuilder.Property(e => e.PublishPrice).HasColumnType("decimal(18, 4)");
        }

    }
}

